package com.tedu.day08_springmvc.mapper;

import com.tedu.day08_springmvc.pojo.entity.User;
import com.tedu.day08_springmvc.pojo.vo.UsersVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IUserMapper {
    public int insertUser(User user);
    public int deleteUserById(Integer id);
    public int updateUserByUsername(User user);

    public List<UsersVO> selectAllUser();

    public UsersVO selectById(int id);

}

